package service;

import java.util.List;

import model.DataModel;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import dao.ReportsDao;

@Service
public class ReportsService {
	@Autowired
	private ReportsDao reportsDao;

	public List<DataModel> acti4Rpt(Integer area) {
		return reportsDao.acti4Rpt(area);
	}

	public List<DataModel> cause4Rpt(Integer area) {
		return reportsDao.cause4Rpt(area);
	}
}
